home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / usr / share / mimelnk / magic
Text File  |  2007-05-14  |  42KB  |  1,066 lines

  1. # Magic data for KMimeMagic (originally for file(1) command)
  2. #
  3. # The format is 4-5 columns:
  4. #    Column #1: byte number to begin checking from, ">" indicates continuation
  5. #    Column #2: type of data to match
  6. #    Column #3: contents of data to match
  7. #    Column #4: MIME type of result
  8.  
  9. #------------------------------------------------------------------------------
  10. # Localstuff:  file(1) magic for locally observed files
  11. # Add any locally observed files here.
  12.  
  13. #------------------------------------------------------------------------------
  14. # end local stuff
  15. #------------------------------------------------------------------------------
  16.  
  17. #------------------------------------------------------------------------------
  18. # audio:  file(1) magic for sound formats (see also "iff")
  19. #
  20. # Jan Nicolai Langfeldt (janl@ifi.uio.no), Dan Quinlan (quinlan@yggdrasil.com),
  21. # and others
  22. #
  23.  
  24. # Sun/NeXT audio data
  25. 0    string        .snd
  26. >12    belong        1        audio/basic
  27. >12    belong        2        audio/basic
  28. >12    belong        3        audio/basic
  29. >12    belong        4        audio/basic
  30. >12    belong        5        audio/basic
  31. >12    belong        6        audio/basic
  32. >12    belong        7        audio/basic
  33.  
  34. >12    belong        23        audio/x-adpcm
  35. >12    belong        24        audio/x-adpcm
  36. >12    belong        25        audio/x-adpcm
  37. >12    belong        26        audio/x-adpcm
  38. >12    belong        27        audio/x-adpcm
  39.  
  40. # DEC systems (e.g. DECstation 5000) use a variant of the Sun/NeXT format
  41. # that uses little-endian encoding and has a different magic number
  42. 0    lelong        0x0064732E
  43. >12    lelong        1        audio/x-adpcm
  44. >12    lelong        2        audio/x-adpcm
  45. >12    lelong        3        audio/x-adpcm
  46. >12    lelong        4        audio/x-adpcm
  47. >12    lelong        5        audio/x-adpcm
  48. >12    lelong        6        audio/x-adpcm
  49. >12    lelong        7        audio/x-adpcm
  50. #                                       compressed (G.721 ADPCM)
  51. >12    lelong        23        audio/x-adpcm
  52.  
  53. # Creative Labs AUDIO stuff
  54. 0       string    MThd                audio/x-midi
  55. #0    string    CTMF            Creative Music (CMF) data
  56. #0    string    SBI            SoundBlaster instrument data
  57. #0    string    Creative\ Voice\ File    Creative Labs voice data
  58.  
  59. # Real Audio (Magic .ra\0375)
  60. 0    belong        0x2e7261fd    audio/vnd.rn-realaudio
  61. 0    string        .RMF        application/vnd.rn-realmedia
  62.  
  63. # OGG files
  64. # For theora at position 87, see bug #109598
  65. 0    string        OggS        application/ogg
  66. >28    string        \x01vorbis    audio/vorbis
  67. >28    string        fLaC        audio/x-oggflac
  68. >28    string        \x80theora    video/x-theora
  69. >87    string        \x80theora    video/x-theora
  70. >28    string        Speex\ \     audio/x-speex
  71. >29    string        video        video/x-ogm
  72. >29    string        FLAC        audio/x-oggflac
  73.  
  74. # FLAC files
  75. 0    string        fLaC        audio/x-flac
  76.  
  77. # Musepack files
  78. 0    string        MP+        audio/x-musepack
  79.  
  80. # C64 PSID sound files
  81. 0    string        PSID        audio/prs.sid
  82.  
  83.  
  84. #------------------------------------------------------------------------------
  85. # riff:  file(1) magic for RIFF format
  86. # See
  87. #
  88. #    http://www.seanet.com/users/matts/riffmci/riffmci.htm
  89. #
  90.  
  91. #                    RIFF (little-endian) data
  92. 0    string        RIFF
  93. # RIFF MIDI format
  94. #>8    string        RMID        audio/x-midi?
  95. # Microsoft WAVE format (*.wav)
  96. >8    string        WAVE        audio/x-wav
  97. >>20    leshort        80        audio/mpeg
  98. >>20    leshort        85        audio/x-mp3
  99. # Corel Draw Picture
  100. #>8    string        CDRA        Corel Draw Picture
  101. # AVI == Audio Video Interleave
  102. >8    string        AVI\040        video/x-msvideo
  103.  
  104. #                    RIFF (big-endian) data
  105. 0    string        RIFX
  106. # RIFF MIDI format
  107. #>8    string        RMID        \b, MIDI
  108. # Microsoft WAVE format (*.wav)
  109. >8    string        WAVE        audio/x-wav
  110. # Corel Draw Picture
  111. #>8    string        CDRA        \b, Corel Draw Picture
  112. # AVI == Audio Video Interleave
  113. >8    string        AVI\040        video/x-msvideo
  114.  
  115.  
  116. #------------------------------------------------------------------------------
  117. # iff:    file(1) magic for Interchange File Format (see also "audio" & "images")
  118. #
  119. # Daniel Quinlan (quinlan@yggdrasil.com) -- IFF was designed by Electronic
  120. # Arts for file interchange.  It has also been used by Apple, SGI, and
  121. # especially Commodore-Amiga.
  122. #
  123. # IFF files begin with an 8 byte FORM header, followed by a 4 character
  124. # FORM type, which is followed by the first chunk in the FORM.
  125.  
  126. 0    string        FORM
  127. >8    string        AIFF        audio/x-aiff
  128. #                    AIFF-C audio data
  129. >8    string        AIFC        audio/x-aiff
  130. #                    IFF/8SVX audio data
  131. >8    string        8SVX        audio/x-aiff
  132. #>8    string        SAMP        \b, SAMP sampled audio
  133. #>8    string        DTYP        \b, DTYP datatype description
  134. #>8    string        PTCH        \b, PTCH binary patch
  135. # image formats
  136. #>8    string        ILBMBMHD    \b, ILBM interleaved image
  137. # other formats
  138. #>8    string        FTXT        \b, FTXT formatted text
  139.  
  140. #------------------------------------------------------------------------------
  141. # KSysV stuff: logfiles and packages belonging to KSysV
  142. #
  143.  
  144. # KSysV logfiles
  145. 0    string        KDE\ System\ V\ Init\ Editor    text/x-ksysv-log
  146.  
  147. # KSysV init packages
  148. 4    string    KSysV
  149. >15    byte    >0x01    application/x-ksysv-package
  150.  
  151. #------------------------------------------------------------------------------
  152. # c-lang:  file(1) magic for C programs or various scripts
  153. #
  154.  
  155. # XPM icons (Greg Roelofs, newt@uchicago.edu)
  156. # ideally should go into "images", but entries below would tag XPM as C source
  157. 0    string        /*\ XPM        image/x-xpm
  158.  
  159. # this first will upset you if you're a PL/1 shop... (are there any left?)
  160. # in which case rm it; ascmagic will catch real C programs
  161. #                    C or REXX program text
  162. #0    string        /*        text/x-c
  163. #                    C++ program text
  164. #0    string        //        text/x-c++
  165.  
  166. #------------------------------------------------------------------------------
  167. # commands:  file(1) magic for various shells and interpreters
  168. #
  169. #0       string          :\ shell archive or commands for antique kernel text
  170. 0       string          #!/bin/sh               application/x-shellscript
  171. 0       string          #!\ /bin/sh             application/x-shellscript
  172. 0       string          #!/bin/csh              application/x-shellscript
  173. 0       string          #!\ /bin/csh            application/x-shellscript
  174. # korn shell magic, sent by George Wu, gwu@clyde.att.com
  175. 0       string          #!/bin/ksh              application/x-shellscript
  176. 0       string          #!\ /bin/ksh            application/x-shellscript
  177. 0       string          #!/bin/zsh              application/x-shellscript
  178. 0       string          #!\ /bin/zsh            application/x-shellscript
  179. 0       string          #!/bin/tcsh             application/x-shellscript
  180. 0       string          #!\ /bin/tcsh           application/x-shellscript
  181. 0       string          #!/usr/local/tcsh       application/x-shellscript
  182. 0       string          #!\ /usr/local/tcsh     application/x-shellscript
  183. 0       string          #!/usr/local/bin/tcsh   application/x-shellscript
  184. 0       string          #!\ /usr/local/bin/tcsh application/x-shellscript
  185. # /usr/bin paths for ksh, zsh and tcsh
  186. 0       string          #!/usr/bin/ksh          application/x-shellscript
  187. 0       string          #!\ /usr/bin/ksh        application/x-shellscript
  188. 0       string          #!/usr/bin/zsh          application/x-shellscript
  189. 0       string          #!\ /usr/bin/zsh        application/x-shellscript
  190. 0       string          #!/usr/bin/tcsh         application/x-shellscript
  191. 0       string          #!\ /usr/bin/tcsh       application/x-shellscript
  192. # bash shell magic, from Peter Tobias (tobias@server.et-inf.fho-emden.de)
  193. 0       string          #!/bin/bash             application/x-shellscript
  194. 0       string          #!\ /bin/bash           application/x-shellscript
  195. 0       string          #!/usr/local/bin/bash   application/x-shellscript
  196. 0       string          #!\ /usr/local/bin/bash application/x-shellscript
  197.  
  198. 0       string          #!\ /bin/env\ bash      application/x-shellscript
  199. 0       string          #!/bin/env\ bash        application/x-shellscript
  200. 0       string          #!\ /usr/bin/env\ bash  application/x-shellscript
  201. 0       string          #!/usr/bin/env\ bash    application/x-shellscript
  202.  
  203. #
  204. 0       string          #!/bin/ash              application/x-shellscript
  205. 0       string          #!\ /bin/ash            application/x-shellscript
  206. # zsh/ash/ae/nawk/gawk magic from cameron@cs.unsw.oz.au (Cameron Simpson)
  207. 0       string          #!/usr/local/bin/zsh    application/x-shellscript
  208. 0       string          #!\ /usr/local/bin/zsh  application/x-shellscript
  209. 0       string          #!/usr/local/bin/ash    application/x-shellscript
  210. 0       string          #!\ /usr/local/bin/ash  application/x-shellscript
  211. #0       string          #!/usr/local/bin/ae     Neil Brown's ae
  212. #0       string          #!\ /usr/local/bin/ae   Neil Brown's ae
  213. 0       string          #!/bin/nawk             application/x-nawk
  214. 0       string          #!\ /bin/nawk           application/x-nawk
  215. 0       string          #!/usr/bin/nawk         application/x-nawk
  216. 0       string          #!\ /usr/bin/nawk       application/x-nawk
  217. 0       string          #!/usr/local/bin/nawk   application/x-nawk
  218. 0       string          #!\ /usr/local/bin/nawk application/x-nawk
  219. 0       string          #!/bin/gawk             application/x-gawk
  220. 0       string          #!\ /bin/gawk           application/x-gawk
  221. 0       string          #!/usr/bin/gawk         application/x-gawk
  222. 0       string          #!\ /usr/bin/gawk       application/x-gawk
  223. 0       string          #!/usr/local/bin/gawk   application/x-gawk
  224. 0       string          #!\ /usr/local/bin/gawk application/x-gawk
  225. #
  226. 0       string          #!/bin/awk              application/x-awk
  227. 0       string          #!\ /bin/awk            application/x-awk
  228. 0       string          #!/usr/bin/awk          application/x-awk
  229. 0       string          #!\ /usr/bin/awk        application/x-awk
  230. #0       string          BEGIN                   application/x-awk
  231.  
  232. # For Larry Wall's perl language.  The ``eval'' line recognizes an
  233. # outrageously clever hack for USG systems.
  234. #                               Keith Waclena <keith@cerberus.uchicago.edu>
  235. 0       string          #!/bin/perl                     application/x-perl
  236. 0       string          #!\ /bin/perl                   application/x-perl
  237. 0       string          eval\ "exec\ /bin/perl          application/x-perl
  238. 0       string          #!/usr/bin/perl                 application/x-perl
  239. 0       string          #!\ /usr/bin/perl               application/x-perl
  240. 0       string          eval\ "exec\ /usr/bin/perl      application/x-perl
  241. 0       string          #!/usr/local/bin/perl           application/x-perl
  242. 0       string          #!\ /usr/local/bin/perl         application/x-perl
  243. 0       string          eval\ "exec\ /usr/local/bin/perl application/x-perl
  244. 0    string        #!/bin/env\ perl                 application/x-perl
  245. 0    string        #!\ /bin/env\ perl               application/x-perl
  246. 0    string        #!/usr/bin/env\ perl             application/x-perl
  247. 0    string        #!\ /usr/bin/env\ perl           application/x-perl
  248.  
  249. # python.
  250. #
  251. 0       string          #!/bin/python                     application/x-python
  252. 0       string          #!\ /bin/python                   application/x-python
  253. 0       string          eval\ "exec\ /bin/python          application/x-python
  254. 0       string          #!/usr/bin/python                 application/x-python
  255. 0       string          #!\ /usr/bin/python               application/x-python
  256. 0       string          eval\ "exec\ /usr/bin/python      application/x-python
  257. 0       string          #!/usr/local/bin/python           application/x-python
  258. 0       string          #!\ /usr/local/bin/python         application/x-python
  259. 0       string          eval\ "exec\ /usr/local/bin/python application/x-python
  260. 0    string        #!/bin/env\ python          application/x-python
  261. 0    string        #!\ /bin/env\ python          application/x-python
  262. 0    string        #!/usr/bin/env\ python          application/x-python
  263. 0    string        #!\ /usr/bin/env\ python       application/x-python
  264.  
  265. # MAGIC as specified in Python/import.c (1.5 to 2.3.0a)
  266. # 20121  ( YEAR - 1995 ) + MONTH  + DAY (little endian followed by "\r\n"
  267. #                                       python 1.5/1.6 byte-compiled
  268. 0       belong          0x994e0d0a      application/x-python-bytecode
  269. #                                       python 2.0 byte-compiled
  270. 0       belong          0x87c60d0a      application/x-python-bytecode
  271. #                                       python 2.1 byte-compiled
  272. 0       belong          0x2aeb0d0a      application/x-python-bytecode
  273. #                                       python 2.2 byte-compiled
  274. 0       belong          0x2ded0d0a      application/x-python-bytecode
  275. #                                       python 2.3 byte-compiled
  276. 0       belong          0x3bf20d0a      application/x-python-bytecode
  277.  
  278. # ruby
  279. 0    string        #!/bin/env\ ruby                   application/x-ruby
  280. 0    string        #!\ /bin/env\ ruby                 application/x-ruby
  281. 0    string        #!/usr/bin/env\ ruby               application/x-ruby
  282. 0    string        #!\ /usr/bin/env\ ruby             application/x-ruby
  283.  
  284. #------------------------------------------------------------------------------
  285. # compress:  file(1) magic for pure-compression formats (no archives)
  286. #
  287. # compress, gzip, pack, compact, huf, squeeze, crunch, freeze, yabba, whap, etc.
  288. #
  289. # Formats for various forms of compressed data
  290. # Formats for "compress" proper have been moved into "compress.c",
  291. # because it tries to uncompress it to figure out what's inside.
  292.  
  293. # standard unix compress
  294. 0    string        \037\235    application/x-compress
  295.  
  296. # gzip (GNU zip, not to be confused with [Info-ZIP/PKWARE] zip archiver)
  297. 0       string          \037\213    application/x-gzip
  298.  
  299. # KOffice documents (gzipped, with an idenfication string in the 'orig filename' header)
  300. >10    string        KOffice
  301. >>18    string        application/x-kchart\004\006    application/x-kchart
  302. >>18    string        application/x-kformula\004\006    application/x-kformula
  303. >>18    string        application/x-killustrator\004\006    application/x-killustrator
  304. >>18    string        application/x-kontour\004\006    application/x-kontour
  305. >>18    string        application/x-kpresenter\004\006    application/x-kpresenter
  306. >>18    string        application/x-kspread\004\006    application/x-kspread
  307. >>18    string        application/x-kword\004\006    application/x-kword
  308. >>18    string        application/x-krita\004\006    application/x-krita
  309. >>18    string        application/x-kivio\004\006    application/x-kivio
  310. >>18    string        application/x-karbon\004\006    application/x-karbon
  311.  
  312. # Rosegarden documents (like old KOffice documents, gzipped with id string in header)
  313. >10    string        audio/x-rosegarden\000             audio/x-rosegarden
  314. >10    string        audio/x-rosegarden-device\000      audio/x-rosegarden-device
  315.  
  316. #KOffice documents v1.2 and later (may 1 2002) using zip as a wrapper
  317. 0    string   PK\003\004                  application/x-zip
  318. >30  string   mimetype
  319. >>38 string   application/x-kchart        application/x-kchart
  320. >>38 string   application/x-kformula      application/x-kformula
  321. >>38 string   application/x-kontour       application/x-kontour
  322. >>38 string   application/x-kpresenter    application/x-kpresenter
  323. >>38 string   application/x-kspread       application/x-kspread
  324. >>38 string   application/x-krita         application/x-krita
  325. >>38 string   application/x-kword         application/x-kword
  326. >>38 string   application/x-kivio         application/x-kivio
  327. >>38 string   application/x-karbon        application/x-karbon
  328.  
  329. #KOffice documents writen using the kzip rewrite used 'unx' based
  330. #zips; dislocating the mimetype.   This was (temporarily) for koffice 1.3 (okt 2003).
  331. 0    string   PK\003\004
  332. >30  string   mimetype
  333. >>55 string   application/x-kchart        application/x-kchart
  334. >>55 string   application/x-kformula      application/x-kformula
  335. >>55 string   application/x-kontour       application/x-kontour
  336. >>55 string   application/x-kpresenter    application/x-kpresenter
  337. >>55 string   application/x-kspread       application/x-kspread
  338. >>55 string   application/x-krita         application/x-krita
  339. >>55 string   application/x-kword         application/x-kword
  340. >>55 string   application/x-kivio         application/x-kivio
  341. >>55 string   application/x-karbon        application/x-karbon
  342.  
  343. # OpenOffice.org 1.1 puts the mimetype into the header too
  344. 0    string   PK\003\004
  345. >30  string   mimetype
  346. >>38 string   application/vnd.sun.xml.calc               application/vnd.sun.xml.calc
  347. >>38 string   application/vnd.sun.xml.calc.template      application/vnd.sun.xml.calc.template
  348. >>38 string   application/vnd.sun.xml.draw               application/vnd.sun.xml.draw
  349. >>38 string   application/vnd.sun.xml.draw.template      application/vnd.sun.xml.draw.template
  350. >>38 string   application/vnd.sun.xml.impress            application/vnd.sun.xml.impress
  351. >>38 string   application/vnd.sun.xml.impress.template   application/vnd.sun.xml.impress.template
  352. >>38 string   application/vnd.sun.xml.writer             application/vnd.sun.xml.writer
  353. >>38 string   application/vnd.sun.xml.writer.master      application/vnd.sun.xml.writer.master
  354. >>38 string   application/vnd.sun.xml.writer.template    application/vnd.sun.xml.writer.template
  355. >>38 string   application/vnd.sun.xml.base               application/vnd.sun.xml.base
  356.  
  357. # OASIS OpenDocument (KOffice >= 1.4 and OpenOffice >= 2.0)
  358. 0    string   PK\003\004
  359. >30  string   mimetype
  360. >>38 string   application/vnd.oasis.opendocument.chart                  application/vnd.oasis.opendocument.chart
  361. >>38 string   application/vnd.oasis.opendocument.formula                application/vnd.oasis.opendocument.formula
  362. >>38 string   application/vnd.oasis.opendocument.graphics               application/vnd.oasis.opendocument.graphics
  363. >>38 string   application/vnd.oasis.opendocument.graphics-template      application/vnd.oasis.opendocument.graphics-template
  364. >>38 string   application/vnd.oasis.opendocument.image                  application/vnd.oasis.opendocument.image
  365. >>38 string   application/vnd.oasis.opendocument.presentation           application/vnd.oasis.opendocument.presentation
  366. >>38 string   application/vnd.oasis.opendocument.presentation-template  application/vnd.oasis.opendocument.presentation-template
  367. >>38 string   application/vnd.oasis.opendocument.spreadsheet            application/vnd.oasis.opendocument.spreadsheet
  368. >>38 string   application/vnd.oasis.opendocument.spreadsheet-template   application/vnd.oasis.opendocument.spreadsheet-template
  369. >>38 string   application/vnd.oasis.opendocument.text                   application/vnd.oasis.opendocument.text
  370. >>38 string   application/vnd.oasis.opendocument.text-template          application/vnd.oasis.opendocument.text-template
  371.  
  372. # BZIP2
  373. 0    string          BZh             application/x-bzip2
  374.  
  375. # BZIP
  376. 0    string        BZ        application/x-bzip
  377.  
  378. # According to gzip.h, this is the correct byte order for packed data.
  379. 0    string        \037\036    application/octet-stream
  380. #
  381. # This magic number is byte-order-independent.
  382. #
  383. 0    short        017437        application/octet-stream
  384.  
  385.  
  386. # ID Software's pak data archive
  387. 0    string        PACK        application/x-pak
  388.  
  389. # XXX - why *two* entries for "compacted data", one of which is
  390. # byte-order independent, and one of which is byte-order dependent?
  391. #
  392. # compacted data
  393. 0    short        0x1fff        application/octet-stream
  394. 0    string        \377\037    application/octet-stream
  395. # huf output
  396. 0    short        0145405        application/octet-stream
  397.  
  398. # Squeeze and Crunch...
  399. # These numbers were gleaned from the Unix versions of the programs to
  400. # handle these formats.  Note that I can only uncrunch, not crunch, and
  401. # I didn't have a crunched file handy, so the crunch number is untested.
  402. #                Keith Waclena <keith@cerberus.uchicago.edu>
  403. #0    leshort        0x76FF        squeezed data (CP/M, DOS)
  404. #0    leshort        0x76FE        crunched data (CP/M, DOS)
  405.  
  406. # Freeze
  407. #0    string        \037\237    Frozen file 2.1
  408. #0    string        \037\236    Frozen file 1.0 (or gzip 0.5)
  409.  
  410. # lzh?
  411. #0    string        \037\240    LZH compressed data
  412.  
  413. #POSIX tar archive
  414. 257    string        ustar\0        application/x-tar
  415. #GNU tar archive
  416. 257    string        ustar\040\040\0        application/x-tar
  417.  
  418. # The SVR4 "cpio(4)" hints that there are additional formats, but they
  419. # are defined as "short"s; I think all the new formats are
  420. # character-header formats and thus are strings, not numbers.
  421. 0    short        070707        application/x-cpio
  422. 0    short        0143561        application/x-cpio
  423. 0    string        070707        application/x-cpio
  424. 0       string          070701          application/x-cpio
  425. 0       string          070702          application/x-cpio
  426.  
  427. 0    string        !<arch>\ndebian        application/x-debian-package
  428. 0    string        =<ar>            application/x-archive
  429. 0    string        !<arch>            application/x-archive
  430.  
  431. #------------------------------------------------------------------------------
  432. #
  433. # RPM: file(1) magic for Red Hat Packages   Erik Troan (ewt@redhat.com)
  434. #
  435. 0       beshort         0xedab
  436. >2      beshort         0xeedb          application/x-rpm
  437.  
  438. # lzw
  439. 0    lelong&0x8080ffff    0x0000081a    application/x-arc
  440. # squashed
  441. 0    lelong&0x8080ffff    0x0000091a    application/x-arc
  442. # uncompressed
  443. 0    lelong&0x8080ffff    0x0000021a    application/x-arc
  444. # packed
  445. 0    lelong&0x8080ffff    0x0000031a    application/x-arc
  446. # squeezed
  447. 0    lelong&0x8080ffff    0x0000041a    application/x-arc
  448. # crunched
  449. 0    lelong&0x8080ffff    0x0000061a    application/x-arc
  450.  
  451. # LHARC/LHA archiver (Greg Roelofs, newt@uchicago.edu)
  452. 2    string    -lh0-    application/x-lha
  453. 2    string    -lh1-    application/x-lha
  454. 2    string    -lz4-    application/x-lha
  455. 2    string    -lz5-    application/x-lha
  456. #    [never seen any but the last; -lh4- reported in comp.compression:]
  457. 2    string    -lzs-    application/x-lha
  458. 2    string    -lh\40-    application/x-lha
  459. 2    string    -lhd-    application/x-lha
  460. 2    string    -lh2-    application/x-lha
  461. 2    string    -lh3-    application/x-lha
  462. 2    string    -lh4-    application/x-lha
  463. 2    string    -lh5-    application/x-lha
  464. 2    string    -lh6-    application/x-lha
  465. 2    string    -lh7-    application/x-lha
  466.  
  467. # ARJ archiver (jason@jarthur.Claremont.EDU)
  468. 0    leshort        0xea60            application/x-arj
  469.  
  470. # RAR archiver (Greg Roelofs, newt@uchicago.edu)
  471. 0    string        Rar!        application/x-rar
  472.  
  473. # ZIP archives (Greg Roelofs, c/o zip-bugs@wkuvx1.wku.edu)
  474. 0    string        PK\003\004    application/x-zip
  475. # Alternate ZIP string (amc@arwen.cs.berkeley.edu)
  476. 0    string        PK00PK\003\004    application/x-zip
  477.  
  478. # Zoo archiver
  479. 20    lelong        0xfdc4a7dc    application/x-zoo
  480.  
  481. # Shell archives
  482. 10    string    #\ This\ is\ a\ shell\ archive    application/x-shellscript
  483.  
  484. # ACE archive
  485. 7      string        **ACE**     application/x-ace
  486.  
  487.  
  488. #------------------------------------------------------------------------------
  489. # frame:  file(1) magic for FrameMaker files
  490. #
  491. # This stuff came on a FrameMaker demo tape, most of which is
  492. # copyright, but this file is "published" as witness the following:
  493. #
  494. 0    string        \<MakerFile    application/x-frame
  495. 0    string        \<MIFFile    application/x-frame
  496. 0    string        \<MakerDictionary    application/x-frame
  497. 0    string        \<MakerScreenFon    application/x-frame
  498. 0    string        \<MML        application/x-frame
  499. 0    string        \<Book        application/x-frame
  500. 0    string        \<Maker        application/x-frame
  501.  
  502. #------------------------------------------------------------------------------
  503. # html:  file(1) magic for HTML (HyperText Markup Language) docs
  504. #
  505. # from Daniel Quinlan <quinlan@yggdrasil.com>
  506. #
  507. 0    string        \<HEAD    text/html
  508. 0    string        \<head    text/html
  509. 0    string        \<BODY    text/html
  510. 0    string        \<body    text/html
  511. 0    string        \<TITLE    text/html
  512. 0    string        \<title    text/html
  513. 0       string          \<html    text/html
  514. 0       string          \<HTML    text/html
  515. 0    string        \<!--    text/html
  516. 0    string        \<h1    text/html
  517. 0    string        \<H1    text/html
  518. 0    string        \<!doctype\ HTML    text/html
  519. 0    string        \<!DOCTYPE\ HTML    text/html
  520. 0    string        \<!doctype\ html    text/html
  521. 0    string        \<!DOCTYPE\ html    text/html
  522.  
  523. # PHP (offset should be "between 0 and 64"...)
  524. 0    string        \<?php    application/x-php
  525.  
  526. # Docbook
  527. 0    string        \<!doctype\ book\ public\ "-//OASIS//DTD\ DocBook     text/docbook
  528. # Hack: <?xml (with version but no encoding etc.) with a docbook mimetype afterwards.
  529. 0       string          \<?xml
  530. >23    string        \<!doctype\ book\ public\ "-//OASIS//DTD\ DocBook     text/docbook
  531. >23    string        \<!DOCTYPE\ book\ PUBLIC\ "-//OASIS//DTD\ DocBook     text/docbook
  532. >23    string        \<!doctype\ book\ public\ "-//KDE//DTD\ DocBook     text/docbook
  533. >23    string        \<!DOCTYPE\ book\ PUBLIC\ "-//KDE//DTD\ DocBook     text/docbook
  534.  
  535. # Extensible markup language (XML), a subset of SGML
  536. # from Marc Prud'hommeaux (marc@apocalypse.org)
  537. 0       string          \<?xml          text/xml
  538. 0       string          \<?XML          text/xml
  539. 0       string          \<?Xml          text/xml
  540.  
  541.  
  542. #-----------------------------------------------------------------------------
  543. # troff stuff
  544. #
  545. 0       string          .\\"            application/x-troff
  546. 0       string          '\\"            application/x-troff
  547. 0       string          '.\\"           application/x-troff
  548. 0       string          \\"             application/x-troff
  549.  
  550. #------------------------------------------------------------------------------
  551. # images:  file(1) magic for image formats (see also "c-lang" for XPM bitmaps)
  552. #
  553. # originally from jef@helios.ee.lbl.gov (Jef Poskanzer),
  554. # additions by janl@ifi.uio.no as well as others. Jan also suggested
  555. # merging several one- and two-line files into here.
  556. #
  557. # XXX - byte order for GIF and TIFF fields?
  558. # [GRR:  TIFF allows both byte orders; GIF is probably little-endian]
  559. #
  560.  
  561. # [GRR:  what the hell is this doing in here?]
  562. #0    string        xbtoa        btoa'd file
  563.  
  564. # PBMPLUS
  565. #                    PBM file
  566. 0    string        P1        image/x-portable-bitmap
  567. #                    PGM file
  568. 0    string        P2        image/x-portable-greymap
  569. #                    PPM file
  570. 0    string        P3        image/x-portable-pixmap
  571. #                    PBM "rawbits" file
  572. 0    string        P4        image/x-portable-bitmap
  573. #                    PGM "rawbits" file
  574. 0    string        P5        image/x-portable-greymap
  575. #                    PPM "rawbits" file
  576. 0    string        P6        image/x-portable-pixmap
  577.  
  578. # NIFF (Navy Interchange File Format, a modification of TIFF)
  579. # [GRR:  this *must* go before TIFF]
  580. 0    string        IIN1        image/x-niff
  581.  
  582. 0     string        II\x2a\x00
  583. >8    string        CR\x02        image/x-raw
  584.  
  585. # Phase One RAW image, big-endian
  586. 32    string        MMMMRawT    image/x-raw
  587. # Phase One RAW image, little-endian
  588. 32    string        IIIITwaR    image/x-raw
  589. # Canon RAW image
  590. 6    string        HEAPCCDR    image/x-raw
  591. # Canon CR2 image (20D, 1Dmk2, ...)
  592. 0    string        II*\000\020\000\000\000CR    image/x-raw
  593. # Minolta RAW image
  594. 0    string        \x00MRM        image/x-raw
  595. # Fuji RAW image
  596. 0    string        FUJIFILM    image/x-raw
  597. # Rollei RAW image
  598. 0    string        DSC-Image    image/x-raw
  599. # Foveon RAW image
  600. 0    string        FOVb        image/x-raw
  601.  
  602. # TIFF and friends
  603. #                    TIFF file, big-endian
  604. 0    string        MM\x00\x2a        image/tiff
  605. #                    TIFF file, little-endian
  606. 0    string        II\x2a\x00        image/tiff
  607.  
  608. # GIF
  609. 0    string        GIF        image/gif
  610.  
  611. # JPEG images
  612. 0    beshort        0xffd8        image/jpeg
  613.  
  614. # JPEG2000 images
  615. 0     beshort        0x0101010C6A50  image/jp2
  616.  
  617. # PNG images
  618. 0       string          \x89PNG         image/png
  619.  
  620. # PC bitmaps (OS/2, Windoze BMP files)  (Greg Roelofs, newt@uchicago.edu)
  621. 0    string        BM
  622. #(OS/2 1.x format)
  623. >14    byte        12        image/x-bmp
  624. #(OS/2 2.x format)
  625. >14    byte        64        image/x-bmp
  626. # (Windows 3.x format)
  627. >14    byte        40        image/x-bmp
  628.  
  629. # PCX images (Nadeem Hasan)
  630. 0   byte        10
  631. # Version 2.5
  632. >1  byte        0       image/x-pcx
  633. # Version 2.8 w/ palette
  634. >1  byte        2       image/x-pcx
  635. # Version 2.8 w/o pallete
  636. >1  byte        3       image/x-pcx
  637. # Version 3.0
  638. >1  byte        5       image/x-pcx
  639.  
  640. #0    string        IC        icon
  641. #0    string        PI        pointer
  642. #0    string        CI        color icon
  643. #0    string        CP        color pointer
  644. #0    string        BA        bitmap array
  645.  
  646. # Gimp's XCF
  647. 0    string    gimp\ xcf    image/x-xcf-gimp
  648.  
  649. # X11 cursor files
  650. 0    string    Xcur    image/x-xcursor
  651.  
  652. # EXR images
  653. 0    lelong        0x762f3101    image/x-exr
  654.  
  655. # SGI images (*.rgb, *.rgba, *.bw, *.sgi)
  656. 0    beshort        474        image/x-rgb
  657.  
  658. #------------------------------------------------------------------------------
  659. # lisp:  file(1) magic for lisp programs
  660. #
  661. # various lisp types, from Daniel Quinlan (quinlan@yggdrasil.com)
  662. #0    string    ;;            text/plain
  663. # Emacs 18 - this is always correct, but not very magical.
  664. 0    string    \012(            application/x-elc
  665. # Emacs 19
  666. 0    string    ;ELC\023\000\000\000    application/x-elc
  667.  
  668. #------------------------------------------------------------------------------
  669. # mail.news:  file(1) magic for mail and news
  670. #
  671. # There are tests to ascmagic.c to cope with mail and news.
  672.  
  673. 0    string        Relay-Version:     message/rfc822
  674. 0    string        #!\ rnews    message/rfc822
  675. 0    string        N#!\ rnews    message/rfc822
  676. 0    string        Forward\ to     message/rfc822
  677. 0    string        Pipe\ to     message/rfc822
  678. 0    string        Return-Path:    message/rfc822
  679. 0       string          Return-Path:    message/rfc822
  680. 0       string          Path:           message/news
  681. 0       string          Xref:           message/news
  682. 0       string          From:           message/rfc822
  683. 0       string          From\x20        application/mbox
  684. 0       string          Article         message/news
  685. #0       string          BABYL           message/x-gnu-rmail
  686. 0       string          Received:       message/rfc822
  687.  
  688.  
  689.  
  690. # TNEF files...
  691. 0    lelong        0x223E9F78    application/ms-tnef
  692.  
  693.  
  694. #------------------------------------------------------------------------------
  695. # mswrite
  696.  
  697. 0    lelong        0xBE31        application/x-mswrite
  698. # with OLE objects
  699. 0    lelong        0xBE32        application/x-mswrite
  700.  
  701. #------------------------------------------------------------------------------
  702. # msword: file(1) magic for MS Word files
  703. #
  704. # Contributor claims:
  705. # Reversed-engineered MS Word magic numbers
  706. # Except that they are generic MSOffice magic numbers ! (DF)
  707.  
  708. 0    string        \376\067\0\043            application/msword
  709. 0    string        \320\317\021\340\241\261    application/msword
  710. 0    string        \333\245-\0\0\0            application/msword
  711. 2080    string        Microsoft\ Word\ 6.0\ Document  application/msword
  712. 2112    string          Microsoft\ Word\ document\ data application/msword
  713.  
  714. # excel
  715. 2080    string  Microsoft\ Excel\ 5.0\ Worksheet    application/msexcel
  716.  
  717. #------------------------------------------------------------------------------
  718. # word perfect
  719.  
  720. 0    belong        0xff575053c405            application/wordperfect
  721. 1       string        WPC                application/wordperfect
  722.  
  723. #------------------------------------------------------------------------------
  724. # printer:  file(1) magic for printer-formatted files
  725. #
  726.  
  727. # PostScript
  728. 0    string        %!        application/postscript
  729. >15    string        EPS        image/x-eps
  730. 0    string        \004%!        application/postscript
  731. >16    string        EPS        image/x-eps
  732.  
  733. # Acrobat
  734. 0    string        %PDF-        application/pdf
  735. 0    string        \n%PDF-        application/pdf
  736.  
  737. #------------------------------------------------------------------------------
  738. # sc:  file(1) magic for "sc" spreadsheet
  739. #
  740. 38    string        Spreadsheet    application/x-sc
  741.  
  742. #------------------------------------------------------------------------------
  743. # tex:  file(1) magic for TeX files
  744. #
  745. # XXX - needs byte-endian stuff (big-endian and little-endian DVI?)
  746. #
  747. # From <conklin@talisman.kaleida.com>
  748.  
  749. # Although we may know the offset of certain text fields in TeX DVI
  750. # and font files, we can't use them reliably because they are not
  751. # zero terminated. [but we do anyway, christos]
  752. 0    string        \367\002    application/x-dvi
  753. #0    string        \367\203    TeX generic font data
  754. #0    string        \367\131    TeX packed font data
  755. #0    string        \367\312    TeX virtual font data
  756. # Maybe we should have a mimetype like x-tex-log, but in any case
  757. # text/plain is better than nothing. (David Faure)
  758. 0    string        This\ is\ TeX,    text/plain
  759. 0    string        This\ is\ METAFONT,    text/plain
  760.  
  761. # XXX promoted from tex so that *.tfm is not mis-identified as mc68k file.
  762. # There is no way to detect TeX Font Metric (*.tfm) files without
  763. # breaking them apart and reading the data.  The following patterns
  764. # match most *.tfm files generated by METAFONT or afm2tfm.
  765. 2    string        \000\021    application/x-tex-tfm
  766. >33    string        >\0        application/x-tex-tfm
  767. 2    string        \000\022    application/x-tex-tfm
  768. >33    string        >\0        application/x-tex-tfm
  769.  
  770. # Texinfo and GNU Info, from Daniel Quinlan (quinlan@yggdrasil.com)
  771. #0    string        \\input\ texinfo    Texinfo source text
  772. #0    string        This\ is\ Info\ file    GNU Info text
  773.  
  774. # correct TeX magic for Linux (and maybe more)
  775. # from Peter Tobias (tobias@server.et-inf.fho-emden.de)
  776. #
  777. 0    leshort        0x02f7        application/x-dvi
  778.  
  779. # RTF - Rich Text Format
  780. 0    string        {\\rtf        text/rtf
  781.  
  782. # UTF16 (UTF16 docs are not MP3s - see the next audio/x-mp3 check :))
  783. 0  beshort        0xfffe        text/plain
  784.  
  785. #------------------------------------------------------------------------------
  786. # animation:  file(1) magic for animation/movie formats
  787. #
  788. # animation formats
  789. # MPEG, FLI, DL originally from vax@ccwf.cc.utexas.edu (VaX#n8)
  790. # FLC, SGI, Apple originally from Daniel Quinlan (quinlan@yggdrasil.com)
  791.  
  792. # MPEG animation format
  793. 0       belong          0x000001b3              video/mpeg
  794. 0       belong          0x000001ba              video/mpeg
  795.  
  796. # MPEG 1.0 audio (layer III,II,I)
  797. 0       beshort&0xfff8  0xfff8
  798. >0      beshort&0x0006  0x0002                 audio/x-mp3
  799. >0      beshort&0x0006  0x0004                 audio/x-mp2
  800. >0      beshort&0x0006  0x0006                 audio/mpeg
  801.  
  802. # MPEG 2.0 audio (layer III,II,I)
  803. 0       beshort&0xfff8  0xfff0
  804. >0      beshort&0x0006  0x0002                 audio/x-mp3
  805. >0      beshort&0x0006  0x0004                 audio/x-mp2
  806. >0      beshort&0x0006  0x0006                 audio/mpeg
  807.  
  808. # MPEG 2.5 audio (layer III,II,I)
  809. 0       beshort&0xfff8  0xff80
  810. >0      beshort&0x0006  0x0002                 audio/x-mp3
  811. >0      beshort&0x0006  0x0004                 audio/x-mp2
  812. >0      beshort&0x0006  0x0006                 audio/mpeg
  813.  
  814. # MPEG-4 audio
  815. 16    string        M4A            audio/mp4
  816.  
  817.  
  818. # FLI animation format
  819. 0    leshort        0xAF11                video/x-flic
  820. # FLC animation format
  821. 0    leshort        0xAF12                video/x-flic
  822.  
  823. # SGI and Apple formats
  824. 0    string        MOVI                video/sgi
  825. 4    string        moov                video/quicktime
  826. 4    string        mdat                video/quicktime
  827. 4    string        wide                video/quicktime
  828. 4    string        free                video/quicktime
  829.  
  830. # DIF digital video file format <mpruett@sgi.com>
  831. #0    belong&0xffffff00    0x1f070000      DIF
  832.  
  833. # Microsoft Advanced Streaming Format (ASF) <mpruett@sgi.com>
  834. 0    belong            0x3026b275    video/x-ms-asf
  835.  
  836. # MNG Video Format, <URL:http://www.libpng.org/pub/mng/spec/>
  837. 0    string            \x8aMNG        video/x-mng
  838.  
  839. # JNG Video Format, <URL:http://www.libpng.org/pub/mng/spec/>
  840. #0    string            \x8bJNG        JNG video data,
  841.  
  842. # Vivo video (Wolfram Kleff)
  843. #3    string        \x0D\x0AVersion:Vivo    Vivo video data
  844.  
  845. # VRML (Virtual Reality Modelling Language)
  846. #0       string/b        #VRML\ V1.0\ ascii    VRML 1 file
  847. #0    string/b    #VRML\ V2.0\ utf8    ISO/IEC 14772 VRML 97 file
  848.  
  849. #------------------------------------------------------------------------------
  850. # Databases
  851. #
  852. # GDBM magic numbers
  853. #  Will be maintained as part of the GDBM distribution in the future.
  854. #  <downsj@teeny.org>
  855. 0       belong  0x13579ace      application/x-gdbm
  856. 0       lelong  0x13579ace      application/x-gdbm
  857. 0       string  GDBM            application/x-gdbm
  858. #
  859. 0       belong  0x061561        application/x-dbm
  860. #
  861. # Executables
  862. #
  863. 0       string          \177ELF
  864. >4      byte            0
  865. >4      byte            1
  866. >4      byte            2
  867. >5      byte            0
  868. >5      byte            1
  869. >>16    leshort         0
  870. >>16    leshort         1               application/x-object
  871. >>16    leshort         2               application/x-executable
  872. >>16    leshort         3               application/x-sharedlib
  873. >>16    leshort         4               application/x-core
  874. >5      byte            2
  875. >>16    beshort         0
  876. >>16    beshort         1               application/x-object
  877. >>16    beshort         2               application/x-executable
  878. >>16    beshort         3               application/x-sharedlib
  879. >>16    beshort         4               application/x-core
  880.  
  881. # MS Access database (95 or newer, i.e. MS Jet 3.0 or newer)
  882. 4      string    Standard\ Jet\ DB    application/x-msaccess
  883.  
  884. #
  885. # DOS
  886. 0    string        MZ        application/x-msdos-program
  887. #
  888. # KDE desktop file
  889. 0        string  [Desktop\ Entry]        application/x-desktop
  890. 0        string  [Desktop\ Action        application/x-desktop
  891. 0        string    [KDE\ Desktop\ Entry]    application/x-desktop
  892. 0               string  \#\ Config\ File        application/x-desktop
  893. 0        string    \#\ KDE\ Config\ File    application/x-desktop
  894. # xmcd database file for kscd
  895. 0        string    \#\ xmcd                text/xmcd
  896. # SQLite database files
  897. 0    string        **\ This\ file\ contains\ an\ SQLite    application/x-sqlite2
  898. 0    string        SQLite\ format\ 3    application/x-sqlite3
  899.  
  900. #------------------------------------------------------------------------------
  901. # Java
  902.  
  903. 0    short        0xcafe
  904. >2    short        0xbabe        application/x-java
  905.  
  906. # vcard / vcalendar
  907. 0    string        BEGIN:VCALENDAR    text/x-vcalendar
  908. 0    string        begin:vcalendar    text/x-vcalendar
  909. 0    string        BEGIN:VCARD    text/x-vcard
  910. 0    string        begin:vcard    text/x-vcard
  911.  
  912. # LDIF / LDAP interchange format
  913. 0    string        dn:\ cn=    text/x-ldif
  914.  
  915. # applix
  916. #------------------------------------------------------------------------------
  917. # applix:  file(1) magic for Applixware
  918. # From: Peter Soos <sp@osb.hu>
  919. #
  920. 0       string          *BEGIN
  921. >7      string          WORDS           application/x-applixword
  922. >7      string          GRAPHICS    application/x-applixgraphics
  923. #>7      string          RASTER          application/x-applix
  924. >7      string          SPREADSHEETS    application/x-applixspread
  925. #>7      string          MACRO        application/x-applix
  926. #>7      string          BUILDER        application/x-applix
  927.  
  928. #------------------------------------------------------------------------------
  929. # diff:  file(1) magic for diff(1) output
  930. #
  931. 0       string          diff\        text/x-diff
  932. 0       string          ***\        text/x-diff
  933. 0       string          Only\ in\     text/x-diff
  934. 0       string          Common\ subdirectories:\        text/x-diff
  935.  
  936.  
  937. #------------------------------------------------------------------------------
  938. # flash:        file(1) magic for Macromedia Flash file format
  939. #
  940. # See
  941. #
  942. #       http://www.macromedia.com/software/flash/open/
  943. #
  944. 0       string          FWS             application/x-shockwave-flash
  945.  
  946. #------------------------------------------------------------------------------
  947. # DjVu (Leon Bottou <leonb@research.att.com>):
  948. #
  949. 4      string          FORM
  950. >12    string          DJVU             image/x-djvu
  951. >12    string          DJVM             image/x-djvu
  952. >12    string          BM44             image/x-djvu
  953. >12    string          PM44             image/x-djvu
  954.  
  955. #------------------------------------------------------------------------------
  956. # adi: file(1) magic for ADi's objects
  957. # From Gregory McGarry <g.mcgarry@ieee.org>
  958. #
  959. 0    leshort        0x521c        application/x-executable # COFF DSP21k
  960. >18    lelong        &02        application/x-executable # executable,
  961. >18    lelong        ^02
  962. >>18    lelong        &01        application/x-executable # static object,
  963. >>18    lelong        ^01        application/x-executable # relocatable object,
  964. >18    lelong        &010        application/x-executable # stripped
  965. >18    lelong        ^010        application/x-executable # not stripped
  966.  
  967. #------------------------------------------------------------------------------
  968. # alliant:  file(1) magic for Alliant FX series a.out files
  969. #
  970. # If the FX series is the one that had a processor with a 68K-derived
  971. # instruction set, the "short" should probably become "beshort" and the
  972. # "long" should probably become "belong".
  973. # If it's the i860-based one, they should probably become either the
  974. # big-endian or little-endian versions, depending on the mode they ran
  975. # the 860 in....
  976. #
  977. 0    short        0420        application/x-executable # 0420 Alliant virtual executable
  978. >2    short        &0x0020        application/x-sharedlib # common library
  979. >16    long        >0        application/x-sharedlib # not stripped
  980. 0    short        0421        application/x-executable # 0421 Alliant compact executable
  981. >2    short        &0x0020        application/x-sharedlib # common library
  982. >16    long        >0        application/x-sharedlib # not stripped
  983. #-----------------------------------------------------------
  984.  
  985. # alpha architecture description
  986. #
  987.  
  988. 0    leshort        0603        application/x-executable #  COFF format alpha
  989. >22    leshort&030000    !020000        application/x-executable # executable
  990. >24    leshort        0410        application/x-executable # pure
  991. >24    leshort        0413        application/x-executable # paged
  992. >22    leshort&020000    !0        application/x-executable # dynamically linked
  993. >16    lelong        !0        application/x-executable # not stripped
  994. >16    lelong        0        application/x-executable # stripped
  995. >22    leshort&030000    020000        application/x-sharedlib # shared library
  996. >24    leshort        0407        application/x-executable # object
  997.  
  998. # Basic recognition of Digital UNIX core dumps - Mike Bremford <mike@opac.bl.uk>
  999. #
  1000. # The actual magic number is just "Core", followed by a 2-byte version
  1001. # number; however, treating any file that begins with "Core" as a Digital
  1002. # UNIX core dump file may produce too many false hits, so we include one
  1003. # byte of the version number as well; DU 5.0 appears only to be up to
  1004. # version 2.
  1005. #
  1006. 0    string        Core\001    application/x-core # Alpha COFF format core dump (Digital UNIX)
  1007. 0    string        Core\002    application/x-core # Alpha COFF format core dump (Digital UNIX)
  1008.  
  1009. #------------------------------------------------------------------------------
  1010. # Win95 InternetShortcut (URL): (Helge Deller <deller@gmx.de>):
  1011. #
  1012. 1    string    InternetShortcut    application/x-mswinurl
  1013.  
  1014. #------------------------------------------------------------------------------
  1015. # amigaos:  file(1) magic for AmigaOS binary formats:
  1016.  
  1017. #
  1018. # From ignatios@cs.uni-bonn.de (Ignatios Souvatzis)
  1019. # Some formats are still missing: AmigaOS special IFF's, e.g.: FORM....CTLG
  1020. # (the others should be separate, anyway)
  1021. #
  1022. 0    belong        0x000003f3    application/x-executable # AmigaOS loadseg()ble executable/binary
  1023. 0    belong        0x000003e7    application/x-sharedlib # AmigaOS object/library data
  1024.  
  1025. 0     string        %TGIF        application/x-tgif
  1026.  
  1027. 0     string        #FIG        application/x-xfig
  1028. 0    string        #LyX\ 1        application/x-lyx
  1029.  
  1030. #------------------------------------------------------------------------------
  1031. # VRML
  1032. 0    string        #VRML        model/vrml
  1033.  
  1034. #------------------------------------------------------------------------------
  1035. # KWallet file
  1036. 0    string        KWALLET\012\015\000\015\012    application/x-kde-wallet
  1037.  
  1038. #------------------------------------------------------------------------------
  1039. # ICA Client configuration files
  1040. 0    string        [WFClient]        application/x-ica
  1041. 1    string        [WFClient]        application/x-ica
  1042. 0    string        [ApplicationServers]    application/x-ica
  1043. 1    string        [ApplicationServers]    application/x-ica
  1044. 0    string        [ICA            application/x-ica
  1045. 1    string        [ICA            application/x-ica
  1046. 0    string        [Program\ Neighborhood    application/x-ica
  1047. 1    string        [Program\ Neighborhood    application/x-ica
  1048.  
  1049. #------------------------------------------------------------------------------
  1050. # CD image files (ISO is imported from file 4.07)
  1051. 32769    string        CD001            application/x-iso
  1052. 32633    string        CD001            application/x-iso
  1053.  
  1054. # CDR-wins bin-with-cue files
  1055. #0    belong        0x00FFFFFF        application/x-cuebin
  1056.  
  1057. # FITS (see RFC 4047)
  1058. # The SIMPLE keyword is always on the first line, NAXIS on the third.
  1059. # Lines are supposed to be exactly 80 characters long.
  1060. # FITS files can be different but then they are not application/fits anymore.
  1061. 0       string          SIMPLE\ \ =\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ T    application/fits
  1062. >160    string          NAXIS\ \ \ =\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 2    image/fits
  1063. >160    string          NAXIS\ \ \ =\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 3    image/fits
  1064.  
  1065. # kate: space-indent off; replace-tabs off;
  1066.